<?php

// include the global include file
require_once("global_funcs.inc.php");
//if(isset($ec)) die("Set"); else die("Not set");
// the default user when no usertype is specified
define('DEFTYPE',10);

function check_admin()
{
    if($_COOKIE['admin_allowed'] != true)
    {
        header("Location: http://".BASE_URL);
    }
}

?>
